#ifndef __C_CROSSFIRE_CAMERANODE_H_
#define __C_CROSSFIRE_CAMERANODE_H_

#include "ICameraNode.h"
#include "CSettings.h"

namespace cfe
{
	class CVectorsCamera : public ICF_CameraNode
	{
	public:
		D3DXVECTOR3	m_vEye;  
		D3DXVECTOR3	m_vLook;  
		D3DXVECTOR3	m_vUp;    
		D3DXVECTOR3	m_vRight;
	private:
		D3DXMATRIX m_result;
		D3DXMATRIX m_projection;
		D3DXMATRIX m_invertView;
	public:
		CVectorsCamera(void);
		~CVectorsCamera(void);

		D3DXMATRIX* CalcViewMatrix();
		D3DXMATRIX* CalcProjectionMatrix();	

		void Move(float fAmnt);
		void Strafe(float fAmnt);
		//void Jump(float fAmnt);
		void Down(float fAmnt);
		void Rotate(float fXAmnt, float fYAmnt);
		D3DXVECTOR3 GetPos() { return m_vEye; };
		void Destroy()
		{
		}
	};

};

#endif